package Utils;

public class StockHistoryInfo
{
    private String date;

    private double open;

    private double close;

    private double lowest;

    private double highest;

    private double volume;

    public StockHistoryInfo()
    {}

    @Override
    public String toString() {
        return "StockHistoryInfo{" +
                "date='" + date + '\'' +
                ", open=" + open +
                ", close=" + close +
                ", lowest=" + lowest +
                ", highest=" + highest +
                ", volume=" + volume +
                '}';
    }

    public StockHistoryInfo(String date, double open, double close, double lowest, double highest, double volume) {
        this.setDate(date);
        this.setOpen(open);
        this.setClose(close);
        this.setLowest(lowest);
        this.setHighest(highest);
        this.setVolume(volume);
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public double getOpen() {
        return open;
    }

    public void setOpen(double open) {
        this.open = open;
    }

    public double getClose() {
        return close;
    }

    public void setClose(double close) {
        this.close = close;
    }

    public double getLowest() {
        return lowest;
    }

    public void setLowest(double lowest) {
        this.lowest = lowest;
    }

    public double getHighest() {
        return highest;
    }

    public void setHighest(double highest) {
        this.highest = highest;
    }

    public double getVolume() {
        return volume;
    }

    public void setVolume(double volume) {
        this.volume = volume;
    }
}
